package edu.sctu.zhangwang.month201505.day20150525.test01;

/**
 * Created by Administrator on 2015/5/25 0025.
 */
public class People {
    protected String name;
    protected String number;
    protected int age;
    protected String sex;

    public People(String name,String number,int age,String sex) {
        this.name = name;
        this.number = number;
        this.age = age;
        this.sex = sex;
    }
    public void printInfo(){
        System.out.println("\t\t******基本信息******");
        System.out.print("姓名：" + name);
        System.out.print("\t学号：" + number);
        System.out.print("\t年龄：" + age);
        System.out.println("\t性别：" + sex);
    }
}
